##coding=utf_8
abc = {1:{"name":"Tom","num":"123456","add":"Foo street 45"},2:{"name":"Lily","num":"456789","add":"Bar street 23"},3:{"name":"Jack","num":"789465","add":"5th street 56"}}
aa = raw_input("请输入要查找的姓名：")
for i in range(1,4):
    if abc[i].get("name")==aa:
        print "%s"%(abc[i].get("name"))
        print "num:%s"%(abc[i].get("num"))
        print "addr:%s"%(abc[i].get("add"))
        break
